package com.lekang.dto;


import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 微信用户-老人-合同关联DTO（含老人信息）
 */

public class WxUserElderlyContractDTO {
    // 微信用户绑定表字段
    private Long bindingId;               // 绑定记录ID
    private Long wechatUserId;            // 微信用户ID
    private Long elderlyId;               // 老人ID（关联字段）
    private String bindingExtraField1;    // 绑定表额外字段1
    private String bindingExtraField2;    // 绑定表额外字段2

    // 老人表字段
    private String elderlyName;           // 老人姓名
    private String idCard;                // 身份证号
    private String gender;                // 性别
    private LocalDate birthDate;          // 出生日期
    private Integer age;                  // 年龄
    private String contact;               // 联系方式
    private String address;               // 家庭住址
    private Integer ethnicity;            // 民族（数据字典）
    private String photo;                 // 一寸照片路径
    private Long bedId;                   // 床位ID

    // 合同表字段
    private Long contractId;              // 合同ID
    private String contractName;          // 合同名称
    private String contractNo;            // 合同编号
    private LocalDate startDate;          // 合同开始时间
    private LocalDate endDate;            // 合同结束时间
    private String contractStatus;        // 合同状态
    private LocalDateTime signTime;       // 签约时间
    private String contractFile;          // 合同文件路径
    private String partyCName;            // 丙方姓名
    private String partyCPhone;           // 丙方电话

    public String getBindingExtraField1() {
        return bindingExtraField1;
    }

    public void setBindingExtraField1(String bindingExtraField1) {
        this.bindingExtraField1 = bindingExtraField1;
    }

    public Long getBindingId() {
        return bindingId;
    }

    public void setBindingId(Long bindingId) {
        this.bindingId = bindingId;
    }

    public Long getWechatUserId() {
        return wechatUserId;
    }

    public void setWechatUserId(Long wechatUserId) {
        this.wechatUserId = wechatUserId;
    }

    public Long getElderlyId() {
        return elderlyId;
    }

    public void setElderlyId(Long elderlyId) {
        this.elderlyId = elderlyId;
    }

    public String getBindingExtraField2() {
        return bindingExtraField2;
    }

    public void setBindingExtraField2(String bindingExtraField2) {
        this.bindingExtraField2 = bindingExtraField2;
    }

    public String getElderlyName() {
        return elderlyName;
    }

    public void setElderlyName(String elderlyName) {
        this.elderlyName = elderlyName;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public LocalDate getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(LocalDate birthDate) {
        this.birthDate = birthDate;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getContact() {
        return contact;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getEthnicity() {
        return ethnicity;
    }

    public void setEthnicity(Integer ethnicity) {
        this.ethnicity = ethnicity;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public Long getBedId() {
        return bedId;
    }

    public void setBedId(Long bedId) {
        this.bedId = bedId;
    }

    public Long getContractId() {
        return contractId;
    }

    public void setContractId(Long contractId) {
        this.contractId = contractId;
    }

    public String getContractName() {
        return contractName;
    }

    public void setContractName(String contractName) {
        this.contractName = contractName;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public LocalDate getStartDate() {
        return startDate;
    }

    public void setStartDate(LocalDate startDate) {
        this.startDate = startDate;
    }

    public LocalDate getEndDate() {
        return endDate;
    }

    public void setEndDate(LocalDate endDate) {
        this.endDate = endDate;
    }

    public String getContractStatus() {
        return contractStatus;
    }

    public void setContractStatus(String contractStatus) {
        this.contractStatus = contractStatus;
    }

    public LocalDateTime getSignTime() {
        return signTime;
    }

    public void setSignTime(LocalDateTime signTime) {
        this.signTime = signTime;
    }

    public String getContractFile() {
        return contractFile;
    }

    public void setContractFile(String contractFile) {
        this.contractFile = contractFile;
    }

    public String getPartyCName() {
        return partyCName;
    }

    public void setPartyCName(String partyCName) {
        this.partyCName = partyCName;
    }

    public String getPartyCPhone() {
        return partyCPhone;
    }

    public void setPartyCPhone(String partyCPhone) {
        this.partyCPhone = partyCPhone;
    }

    @Override
    public String toString() {
        return "WxUserElderlyContractDTO{" +
                "bindingId=" + bindingId +
                ", wechatUserId=" + wechatUserId +
                ", elderlyId=" + elderlyId +
                ", bindingExtraField1='" + bindingExtraField1 + '\'' +
                ", bindingExtraField2='" + bindingExtraField2 + '\'' +
                ", elderlyName='" + elderlyName + '\'' +
                ", idCard='" + idCard + '\'' +
                ", gender='" + gender + '\'' +
                ", birthDate=" + birthDate +
                ", age=" + age +
                ", contact='" + contact + '\'' +
                ", address='" + address + '\'' +
                ", ethnicity=" + ethnicity +
                ", photo='" + photo + '\'' +
                ", bedId=" + bedId +
                ", contractId=" + contractId +
                ", contractName='" + contractName + '\'' +
                ", contractNo='" + contractNo + '\'' +
                ", startDate=" + startDate +
                ", endDate=" + endDate +
                ", contractStatus='" + contractStatus + '\'' +
                ", signTime=" + signTime +
                ", contractFile='" + contractFile + '\'' +
                ", partyCName='" + partyCName + '\'' +
                ", partyCPhone='" + partyCPhone + '\'' +
                '}';
    }
}